package JavaSE.d4;

    class Test {
        static {
            System.out.println("Test static block");
        }

        public Test() {
            System.out.println("Test Constructor");
        }
    }

    public class Test14 extends Test {
        static {
            System.out.println("Child static block");
        }
        {
            System.out.println("Child block");
        }

        public Test14() {
            System.out.println("Child Constructor");
        }

        public static void main(String[] arg) {
            Test14 t = new Test14();
            Test t1 = new Test14();
            Test t2 = new Test();
        }
    }

